package com.kerrykidz.membership.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.kerrykidz.membership.dao.model.CusMemBlackEntity;
import com.rdp.framework.core.dao.mapper.MyBatisSuperMapper;
import com.rdp.framework.exception.RDPException;

@Repository
public interface CusMemBlackEntityMapper extends MyBatisSuperMapper<CusMemBlackEntity> {
	/**
	 * 根据会员编号获取黑名单信息
	 * @param memberId:会员Id
	 * @param guaId:监护人Id
	 * @return
	 */
	public CusMemBlackEntity findEntityByMembId(@Param("fkMemId") String fkMemId);
	
	/**
	 * 根据会员编号修改黑名单信息
	 * @param memberId:会员Id
	 * @param guaId:监护人Id
	 * @return
	 */
	public void updateEntityByMembId(CusMemBlackEntity entity) throws RDPException;
}